/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2020.
 * Description: support mtrc feature
 * Author: liusontang <liusongtang@huawei.com>
 * Create: 2020-10-22
 */

#ifndef __MTRC_PAT_H
#define __MTRC_PAT_H

extern int is_mtrc_region_conflict(phys_addr_t start_pfn, unsigned long len);
extern int find_region_attr(phys_addr_t start_pfn, unsigned long len, unsigned int *type, pgprot_t *attr);
extern void mtrc_sync_vmflags(struct vm_area_struct *vma, unsigned long pfn, unsigned long len);

#endif
